﻿@model IEnumerable<Trifecta.Models.ConsumerView>

@{
    ViewBag.Title = "Transaction History";
}

<h2>Your Transaction History</h2>
<style>
   .right {
       float:right;

   }
</style>
<div class="right">
    <p>
        @Html.ActionLink("Change Your Password", "Manage", "Account")
    </p>
</div>
<table class="table">
    <tr>
        <th>
            <b>Total Sale</b>
        </th>
        <th>
            <b>Business Name</b>
        </th>

        <th>
            <b>Sale Date</b>
</th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            $@Html.DisplayFor(modelItem => item.Gross_Sale)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Merchant_Name)
        </td>

        <td>
            @Html.DisplayFor(modelItem => item.Sale_Date)
        </td>

    </tr>
}

</table>
